/*
* Copyright 2020, Zetyun DEP All rights reserved.
*/

package ${package.Service};

import ${package.Entity}.${entity};
import ${cfg.dto}.${entity}Dto;
import com.zetyun.dep.common.core.web.domain.AjaxResult;


import java.util.List;
import java.util.Map;

/**
* <p>
    * ${table.comment!} 服务类
    * </p>
*
* @author zhangjw
* @since ${cfg.time}
*/
public interface ${table.serviceName} {

    List<${entity}> selectList(${entity}Dto ${cfg.entiName});

    ${entity} getById(Integer ${cfg.entiName}Id);

    AjaxResult insert(${entity}Dto ${cfg.entiName});

    int update(${entity}Dto ${cfg.entiName});

    void deleteById(Integer ${cfg.entiName}Id);

    void deleteByIds(Integer[] ${cfg.entiName}Ids);
}

